﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.NoNet
{
    public class TStocktakingModes
    {
        /// <summary>
        /// 订单明细主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 盘点单Id
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 盘点单号
        /// </summary>
        public string OrderSn { get; set; }


        public string JsonData { get; set; }
        /// Json字段
        public List<TStocktakingChild> Children { get; set; }


    }


    public class TStocktakingChild
    {
        public int Id { get; set; }
        /// <summary>
        /// 仓位Id
        /// </summary>
        public int? CellId { get; set; }

        /// <summary>
        /// 仓位编码
        /// </summary>
        public string CellCode { get; set; }

        /// <summary>
        /// 仓位名称
        /// </summary>
        public string LocationName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public int? MaterialId { get; set; }

        /// <summary>
        /// 装备名称
        /// </summary>
        public string MaterialCategoryName { get; set; }

        /// <summary>
        /// 物料号
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Qty { get; set; }

        /// <summary>
        /// 物料类型Id
        /// </summary>
        public int? MaterialTypeId { get; set; }

        /// <summary>
        /// 物料类型
        /// </summary>
        public string MaterialTypeName { get; set; }

        /// <summary>
        /// 库房Id
        /// </summary>
        public int? WarehouseId { get; set; }
    }
}
